package com.shiyingzi.security.dao;

import java.util.List;

import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.shiyingzi.basics.dao.SuperMapper;
import com.shiyingzi.security.model.UserRole;


public interface UserRoleDao extends SuperMapper<UserRole>{

//	List<UserRole> findByUserId(Integer userId);
	
//	List<UserRole> findByRoleId(Integer roleId);
	
//	List<UserRole> findByUserIdAndRoleId(Integer userId, Integer roleId);
	
	int insertBatchUserRole(List<UserRole> list);
	
	int updateBatchUserRole(List<UserRole> list);
}
